package com.hundsun.yr.universal.p2p.interactor.impl;

import android.content.Context;
import android.view.View;

import com.hundsun.mobile.zwgt.R;
import com.hundsun.yr.universal.p2p.interactor.base.BaseTabInteractor;
import com.hundsun.yr.universal.p2p.ui.activity.base.BaseFragment;

import java.util.ArrayList;
import java.util.List;


/**
 * @version V1.0
 * @Title: TabInvestInteractorImpl.java
 * @Description: 获取Invest数据
 * @date 2015-12-8 下午4:29:13
 * @author:hejun.shen
 * @email:shenhj15971@hundsun.com
 * @replace author:
 * @replace date:
 */
public class TabInvestInteractorImpl implements BaseTabInteractor {

    /**
     * Tab文字数组数组
     */
    private String[] tabLables = null;

    @Override
    public List<BaseFragment> getTabFragments(Context context) {
        // TODO Auto-generated method stub
        List<BaseFragment> fragments = new ArrayList<BaseFragment>();
//        fragments.add(new ScatteredInvestmentFragment());
//        fragments.add(new TransferZoneFragment());
        return fragments;
    }


    @Override
    public String[] getTitles(Context context) {
        // TODO Auto-generated method stub
        tabLables = context.getResources().getStringArray(R.array.tab_project_name);
        return tabLables;
    }


    @Override
    public List<View> getTabItem(Context context) {
        // TODO Auto-generated method stub
        return null;
    }


}
